<?php
/**
 * The Template for displaying all single posts.
 *
 */

get_header(); ?>

<div id="wrapper_main" class="grid_24">

	<div id="page_title_single" class="grid_24">
	
		<h1><?php the_title(); ?></h1>
		<?php edit_post_link(__( 'Edit', ns_text_domaine ), '{', '}'); ?>
		
	</div>
	
	<div id="single" class="grid_17 suffix_1 alpha">
	
	<?php if ( ! have_posts() ) : ?>
		
		<p><?php _e( 'Apologies, but no results were found for the requested entry. Perhaps searching will help find a related entry.', ns_text_domaine ); ?></p>
	
	<?php else : ?>
	
			<?php while ( have_posts() ) : the_post(); ?>
			
			<?php get_template_part( 'loop', 'single' ); ?>
			
			<?php endwhile; // end of the loop. ?>
		
	<?php endif; ?>
	
	
	</div>
	
	<?php get_template_part( 'sidebar', 'single' ); ?>
	
	<?php comments_template( '', true ); ?>
	
</div>
<!--End #wrapper_main-->

<?php get_footer(); ?>
